using UnityEngine;
using UnityEngine.UI;

public class UI_测试功能 : MonoBehaviour
{
	public Toggle _无限气力;

	public Toggle _无限酒;

	public Toggle _无限豆子;

	public Toggle _10倍攻击;

	public Toggle _无敌;

	private void Start()
	{
		_无限气力.isOn = GameManager._无限气力;
		_无限酒.isOn = GameManager._无限酒;
		_无限豆子.isOn = GameManager._无限豆子;
		_10倍攻击.isOn = GameManager._10倍攻击;
		_无敌.isOn = GameManager._无敌;
		_无限气力.onValueChanged.AddListener(delegate(bool b)
		{
			GameManager._无限气力 = b;
		});
		_无限酒.onValueChanged.AddListener(delegate(bool b)
		{
			GameManager._无限酒 = b;
		});
		_无限豆子.onValueChanged.AddListener(delegate(bool b)
		{
			GameManager._无限豆子 = b;
		});
		_10倍攻击.onValueChanged.AddListener(delegate(bool b)
		{
			GameManager._10倍攻击 = b;
		});
		_无敌.onValueChanged.AddListener(delegate(bool b)
		{
			GameManager._无敌 = b;
		});
	}
}
